package com.yeyuanqi.hottop.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yeyuanqi.hottop.entity.RoleUser;
import com.yeyuanqi.hottop.entity.SysUser;
import com.yeyuanqi.hottop.service.SysUserService;
import com.yeyuanqi.hottop.mapper.SysUserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
* @author yeyuanqi
* @description 针对表【sys_user(用户信息表)】的数据库操作Service实现
* @createDate 2022-02-26 15:25:07
*/
@Service
@Transactional
public class SysUserServiceImpl extends ServiceImpl<SysUserMapper, SysUser> implements SysUserService{

    @Autowired
    private SysUserMapper sysUserMapper;

    @Override
    public void addRoleUser(RoleUser roleUser) {
        sysUserMapper.addRoleUser(roleUser);
    }
}
